<template>
  <screen-container
    v-loading="loading"
    scale-type="fit"
    :screen-width="1920"
    :screen-height="1080"
    :is-background-image="true"
    :is-full-background="true"
    :background-image="bgImage"
    element-loading-background="rgba(0, 77, 138, 0.8)"
  >
    <!-- 顶部导航 -->
    <TitleBar></TitleBar>
    <div class="scroll">
      <!-- 图表 -->
      <div class="box">
        <chartTable></chartTable>
        <countBox></countBox>
        <chartPie></chartPie>
      </div>
      <!-- 表格table -->
      <table_1></table_1>
    </div>
  </screen-container>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import screenContainer from '../components/screen-container/screen-container.vue'
import TitleBar from '../components/TitleBar/index.vue'
import chartTable from '../components/chart/chart1.vue'
import countBox from '../components/count/countBox.vue'
import chartPie from '../components/chart/chart2.vue'
import table_1 from '../components/table/table_1.vue'
const loading = ref(false)
import bgImage from '../assets/images/bg42.jpg'
</script>

<style lang="scss" scoped>
.box {
  width: 100%;
  height: 320px;
  padding: 0 30px;
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-self: flex-start;
}

.scroll {
  height: 100%;
  overflow-y: scroll;
  &::-webkit-scrollbar {
    width: 0;
  }
}
</style>
